package com.weixin.exception;

import com.weixin.util.ErrorCode;

public class WeixinException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ErrorCode code;

	public WeixinException(ErrorCode code) {
		super();
		this.code = code;
	}

	public ErrorCode getCode() {
		return code;
	}

}
